﻿// --------------------------------
// <copyright file="MemberRanking.cs" company="Pattern Web Solutions">
//     Copyright © Simon Gill 2010. Distributed under the GPL.
// </copyright>
// <author>Simon Gill</author>
// ---------------------------------
// This file is part of League Manager

// League Manager is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 2 of the License, or
// (at your option) any later version.

// League Manager is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with League Manager.  If not, see <http://www.gnu.org/licenses/>.

namespace LeagueManager.Models
{
    /// <summary>
    /// Strongly-typed view-model of ranking data for a member.
    /// </summary>
    public class MemberRanking
    {
        /// <summary>
        /// Gets or sets the name of the member for display.
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets how many games this member has won.
        /// </summary>
        public int WinCount { get; set; }

        /// <summary>
        /// Gets or sets how many games this member has lost.
        /// </summary>
        public int LossCount { get; set; }

        /// <summary>
        /// Gets or sets how many games this member has drawn.
        /// </summary>
        public int TieCount { get; set; }
    }
}
